<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
	<input type="hidden" name="row[rules]" value="" />
	<input type="hidden" name="row[interfaces]" value="" />
	<div class="form-group">
			<label for="c-name" class="control-label col-xs-12 col-sm-2">名称:</label>
			<div class="col-xs-12 col-sm-8">
					<input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="" />
			</div>
	</div>
	<div class="form-group">
        <label for="nickname" class="control-label col-xs-12 col-sm-2">{:__('Permission')}:</label>
        <div class="col-xs-12 col-sm-8">
            <span class="text-muted"><input type="checkbox" name="" id="checkall" /> <label for="checkall"><small>{:__('Check all')}</small></label></span>
            <span class="text-muted"><input type="checkbox" name="" id="expandall" /> <label for="expandall"><small>{:__('Expand all')}</small></label></span>

            <div id="treeview" rid=""></div>
        </div>
	</div>
	<div class="form-group">
		<label for="nickname" class="control-label col-xs-12 col-sm-2">{:__('Interface permission')}:</label>
		<div class="col-xs-12 col-sm-8">
			<span class="text-muted"><input type="checkbox" name="" id="checkalli" />
				<label for="checkalli"><small>{:__('Check all')}</small></label></span>
			<span class="text-muted"><input type="checkbox" name="" id="expandalli" />
				<label for="expandalli"><small>{:__('Expand all')}</small></label></span>
			<div id="treeviewi"></div>
		</div>
	</div>

		<div class="form-group">
				<label for="c-status" class="control-label col-xs-12 col-sm-2">状态:</label>
				<div class="col-xs-12 col-sm-8">
						<div class="radio" for="status" >
								<label for="status"><input name="row[status]" type="radio" value="1"  checked="checked"/> 正常</label>
								<label for="status"><input name="row[status]" type="radio" value="2" /> 隐藏</label>
						</div>
				</div>
		</div>
		<div class="form-group">
			<label for="c-default" class="control-label col-xs-12 col-sm-2">默认:</label>
			<div class="col-xs-12 col-sm-8">
				<div class="radio">
					<label for="default">
						<input name="row[default]" type="radio" value="1" />默认</label>
					<label for="default">
						<input name="row[default]" type="radio" value="0" checked="checked" />非默认</label>
				</div>
			</div>
		</div>
				<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2"></label>
						<div class="col-xs-12 col-sm-8">
								<button type="submit" class="btn btn-success btn-embossed">确定</button>
								<button type="reset" class="btn btn-default btn-embossed">重置</button>
						</div>
		</div>
</form>
